Z-index

Z-index can be set on any positioned element and has three possible values: auto | <integer> | inherit

By default, positioned elements are stacked on top of each other based on where they are encountered in the source order, with the last object on top. By setting the z-index property you can control the stacking order of positioned elements. Items are ordered based on "stacking context." The root element forms the initial stacking context, with other stacking contexts being created by applying a z-index value other than "auto."

Within each stacking context, elements are stacked in this order:

One
Two
Three